<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pygccxml.msvc.pdb.impl_details</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pygccxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://www.language-binding.net">pygccxml</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pygccxml-module.html">Package&nbsp;pygccxml</a> ::
        <a href="pygccxml.msvc-module.html">Package&nbsp;msvc</a> ::
        <a href="pygccxml.msvc.pdb-module.html">Package&nbsp;pdb</a> ::
        Module&nbsp;impl_details
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="pygccxml.msvc.pdb.impl_details-module.html">Module pygccxml.msvc.pdb.impl_details</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno"> 1</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-op">.</tt> <tt class="py-keyword">import</tt> <tt id="link-0" class="py-name" targets="Class pygccxml.msvc.bsc.c_wrapper.enums=pygccxml.msvc.bsc.c_wrapper.enums-class.html,Class pygccxml.msvc.bsc_impl_details.enums=pygccxml.msvc.bsc_impl_details.enums-class.html,Module pygccxml.msvc.pdb.enums=pygccxml.msvc.pdb.enums-module.html,Method pygccxml.parser.scanner.scanner_t.enums()=pygccxml.parser.scanner.scanner_t-class.html#enums"><a title="pygccxml.msvc.bsc.c_wrapper.enums
pygccxml.msvc.bsc_impl_details.enums
pygccxml.msvc.pdb.enums
pygccxml.parser.scanner.scanner_t.enums" class="py-name" href="#" onclick="return doclink('link-0', 'enums', 'link-0');">enums</a></tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-1" class="py-name" targets="Package pygccxml=pygccxml-module.html"><a title="pygccxml" class="py-name" href="#" onclick="return doclink('link-1', 'pygccxml', 'link-1');">pygccxml</a></tt> <tt class="py-keyword">import</tt> <tt id="link-2" class="py-name" targets="Package pygccxml.declarations=pygccxml.declarations-module.html,Variable pygccxml.declarations.namespace.namespace_t.declarations=pygccxml.declarations.namespace.namespace_t-class.html#declarations,Variable pygccxml.declarations.scopedef.scopedef_t.declarations=pygccxml.declarations.scopedef.scopedef_t-class.html#declarations,Variable pygccxml.parser.declarations_cache.record_t.declarations=pygccxml.parser.declarations_cache.record_t-class.html#declarations,Method pygccxml.parser.scanner.scanner_t.declarations()=pygccxml.parser.scanner.scanner_t-class.html#declarations"><a title="pygccxml.declarations
pygccxml.declarations.namespace.namespace_t.declarations
pygccxml.declarations.scopedef.scopedef_t.declarations
pygccxml.parser.declarations_cache.record_t.declarations
pygccxml.parser.scanner.scanner_t.declarations" class="py-name" href="#" onclick="return doclink('link-2', 'declarations', 'link-2');">declarations</a></tt> </tt>
<a name="guess_class_type"></a><div id="guess_class_type-def"><a name="L3"></a><tt class="py-lineno"> 3</tt>  <tt class="py-line"> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt> <a class="py-toggle" href="#" id="guess_class_type-toggle" onclick="return toggle('guess_class_type');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.msvc.pdb.impl_details-module.html#guess_class_type">guess_class_type</a><tt class="py-op">(</tt> <tt class="py-param">udt_kind</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="guess_class_type-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="guess_class_type-expanded"><a name="L5"></a><tt class="py-lineno"> 5</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt id="link-3" class="py-name"><a title="pygccxml.msvc.bsc.c_wrapper.enums
pygccxml.msvc.bsc_impl_details.enums
pygccxml.msvc.pdb.enums
pygccxml.parser.scanner.scanner_t.enums" class="py-name" href="#" onclick="return doclink('link-3', 'enums', 'link-0');">enums</a></tt><tt class="py-op">.</tt><tt id="link-4" class="py-name" targets="Class pygccxml.msvc.pdb.enums.UdtKind=pygccxml.msvc.pdb.enums.UdtKind-class.html"><a title="pygccxml.msvc.pdb.enums.UdtKind" class="py-name" href="#" onclick="return doclink('link-4', 'UdtKind', 'link-4');">UdtKind</a></tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Variable pygccxml.msvc.pdb.enums.UdtKind.UdtStruct=pygccxml.msvc.pdb.enums.UdtKind-class.html#UdtStruct"><a title="pygccxml.msvc.pdb.enums.UdtKind.UdtStruct" class="py-name" href="#" onclick="return doclink('link-5', 'UdtStruct', 'link-5');">UdtStruct</a></tt> <tt class="py-op">==</tt> <tt class="py-name">udt_kind</tt><tt class="py-op">:</tt> </tt>
<a name="L6"></a><tt class="py-lineno"> 6</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-6" class="py-name"><a title="pygccxml.declarations
pygccxml.declarations.namespace.namespace_t.declarations
pygccxml.declarations.scopedef.scopedef_t.declarations
pygccxml.parser.declarations_cache.record_t.declarations
pygccxml.parser.scanner.scanner_t.declarations" class="py-name" href="#" onclick="return doclink('link-6', 'declarations', 'link-2');">declarations</a></tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Class pygccxml.declarations.class_declaration.CLASS_TYPES=pygccxml.declarations.class_declaration.CLASS_TYPES-class.html"><a title="pygccxml.declarations.class_declaration.CLASS_TYPES" class="py-name" href="#" onclick="return doclink('link-7', 'CLASS_TYPES', 'link-7');">CLASS_TYPES</a></tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Variable pygccxml.declarations.class_declaration.CLASS_TYPES.STRUCT=pygccxml.declarations.class_declaration.CLASS_TYPES-class.html#STRUCT"><a title="pygccxml.declarations.class_declaration.CLASS_TYPES.STRUCT" class="py-name" href="#" onclick="return doclink('link-8', 'STRUCT', 'link-8');">STRUCT</a></tt> </tt>
<a name="L7"></a><tt class="py-lineno"> 7</tt>  <tt class="py-line">    <tt class="py-keyword">elif</tt> <tt id="link-9" class="py-name"><a title="pygccxml.msvc.bsc.c_wrapper.enums
pygccxml.msvc.bsc_impl_details.enums
pygccxml.msvc.pdb.enums
pygccxml.parser.scanner.scanner_t.enums" class="py-name" href="#" onclick="return doclink('link-9', 'enums', 'link-0');">enums</a></tt><tt class="py-op">.</tt><tt id="link-10" class="py-name"><a title="pygccxml.msvc.pdb.enums.UdtKind" class="py-name" href="#" onclick="return doclink('link-10', 'UdtKind', 'link-4');">UdtKind</a></tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Variable pygccxml.msvc.pdb.enums.UdtKind.UdtClass=pygccxml.msvc.pdb.enums.UdtKind-class.html#UdtClass"><a title="pygccxml.msvc.pdb.enums.UdtKind.UdtClass" class="py-name" href="#" onclick="return doclink('link-11', 'UdtClass', 'link-11');">UdtClass</a></tt> <tt class="py-op">==</tt> <tt class="py-name">udt_kind</tt><tt class="py-op">:</tt> </tt>
<a name="L8"></a><tt class="py-lineno"> 8</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-12" class="py-name"><a title="pygccxml.declarations
pygccxml.declarations.namespace.namespace_t.declarations
pygccxml.declarations.scopedef.scopedef_t.declarations
pygccxml.parser.declarations_cache.record_t.declarations
pygccxml.parser.scanner.scanner_t.declarations" class="py-name" href="#" onclick="return doclink('link-12', 'declarations', 'link-2');">declarations</a></tt><tt class="py-op">.</tt><tt id="link-13" class="py-name"><a title="pygccxml.declarations.class_declaration.CLASS_TYPES" class="py-name" href="#" onclick="return doclink('link-13', 'CLASS_TYPES', 'link-7');">CLASS_TYPES</a></tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Variable pygccxml.declarations.class_declaration.CLASS_TYPES.CLASS=pygccxml.declarations.class_declaration.CLASS_TYPES-class.html#CLASS,Variable pygccxml.msvc.bsc.c_wrapper.enums.MBF.CLASS=pygccxml.msvc.bsc.c_wrapper.enums.MBF-class.html#CLASS,Variable pygccxml.msvc.bsc_impl_details.enums.MBF.CLASS=pygccxml.msvc.bsc_impl_details.enums.MBF-class.html#CLASS"><a title="pygccxml.declarations.class_declaration.CLASS_TYPES.CLASS
pygccxml.msvc.bsc.c_wrapper.enums.MBF.CLASS
pygccxml.msvc.bsc_impl_details.enums.MBF.CLASS" class="py-name" href="#" onclick="return doclink('link-14', 'CLASS', 'link-14');">CLASS</a></tt> </tt>
<a name="L9"></a><tt class="py-lineno"> 9</tt>  <tt class="py-line">    <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L10"></a><tt class="py-lineno">10</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-15" class="py-name"><a title="pygccxml.declarations
pygccxml.declarations.namespace.namespace_t.declarations
pygccxml.declarations.scopedef.scopedef_t.declarations
pygccxml.parser.declarations_cache.record_t.declarations
pygccxml.parser.scanner.scanner_t.declarations" class="py-name" href="#" onclick="return doclink('link-15', 'declarations', 'link-2');">declarations</a></tt><tt class="py-op">.</tt><tt id="link-16" class="py-name"><a title="pygccxml.declarations.class_declaration.CLASS_TYPES" class="py-name" href="#" onclick="return doclink('link-16', 'CLASS_TYPES', 'link-7');">CLASS_TYPES</a></tt><tt class="py-op">.</tt><tt id="link-17" class="py-name" targets="Variable pygccxml.declarations.class_declaration.CLASS_TYPES.UNION=pygccxml.declarations.class_declaration.CLASS_TYPES-class.html#UNION"><a title="pygccxml.declarations.class_declaration.CLASS_TYPES.UNION" class="py-name" href="#" onclick="return doclink('link-17', 'UNION', 'link-17');">UNION</a></tt> </tt>
</div><a name="L11"></a><tt class="py-lineno">11</tt>  <tt class="py-line"> </tt>
<a name="full_name_splitter_t"></a><div id="full_name_splitter_t-def"><a name="L12"></a><tt class="py-lineno">12</tt> <a class="py-toggle" href="#" id="full_name_splitter_t-toggle" onclick="return toggle('full_name_splitter_t');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pygccxml.msvc.pdb.impl_details.full_name_splitter_t-class.html">full_name_splitter_t</a><tt class="py-op">(</tt> <tt class="py-base-class">object</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="full_name_splitter_t-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="full_name_splitter_t-expanded"><a name="full_name_splitter_t.__init__"></a><div id="full_name_splitter_t.__init__-def"><a name="L13"></a><tt class="py-lineno">13</tt> <a class="py-toggle" href="#" id="full_name_splitter_t.__init__-toggle" onclick="return toggle('full_name_splitter_t.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.msvc.pdb.impl_details.full_name_splitter_t-class.html#__init__">__init__</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">full_name</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="full_name_splitter_t.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="full_name_splitter_t.__init__-expanded"><a name="L14"></a><tt class="py-lineno">14</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__full_name</tt> <tt class="py-op">=</tt> <tt id="link-18" class="py-name" targets="Function pygccxml.declarations.algorithm.full_name()=pygccxml.declarations.algorithm-module.html#full_name,Variable pygccxml.declarations.algorithms_cache.declaration_algs_cache_t.full_name=pygccxml.declarations.algorithms_cache.declaration_algs_cache_t-class.html#full_name"><a title="pygccxml.declarations.algorithm.full_name
pygccxml.declarations.algorithms_cache.declaration_algs_cache_t.full_name" class="py-name" href="#" onclick="return doclink('link-18', 'full_name', 'link-18');">full_name</a></tt> </tt>
<a name="L15"></a><tt class="py-lineno">15</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__identifiers</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__split_scope_identifiers</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L16"></a><tt class="py-lineno">16</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__scope_identifiers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L17"></a><tt class="py-lineno">17</tt>  <tt class="py-line"> </tt>
<a name="L18"></a><tt class="py-lineno">18</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt>
<a name="full_name_splitter_t.name"></a><div id="full_name_splitter_t.name-def"><a name="L19"></a><tt class="py-lineno">19</tt> <a class="py-toggle" href="#" id="full_name_splitter_t.name-toggle" onclick="return toggle('full_name_splitter_t.name');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.msvc.pdb.impl_details.full_name_splitter_t-class.html#name">name</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="full_name_splitter_t.name-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="full_name_splitter_t.name-expanded"><a name="L20"></a><tt class="py-lineno">20</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__identifiers</tt><tt class="py-op">[</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> </tt>
</div><a name="L21"></a><tt class="py-lineno">21</tt>  <tt class="py-line"> </tt>
<a name="L22"></a><tt class="py-lineno">22</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt>
<a name="full_name_splitter_t.scope_names"></a><div id="full_name_splitter_t.scope_names-def"><a name="L23"></a><tt class="py-lineno">23</tt> <a class="py-toggle" href="#" id="full_name_splitter_t.scope_names-toggle" onclick="return toggle('full_name_splitter_t.scope_names');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.msvc.pdb.impl_details.full_name_splitter_t-class.html#scope_names">scope_names</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="full_name_splitter_t.scope_names-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="full_name_splitter_t.scope_names-expanded"><a name="L24"></a><tt class="py-lineno">24</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">None</tt> <tt class="py-keyword">is</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__scope_identifiers</tt><tt class="py-op">:</tt> </tt>
<a name="L25"></a><tt class="py-lineno">25</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__scope_identifiers</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-comment"># ['::']</tt> </tt>
<a name="L26"></a><tt class="py-lineno">26</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt class="py-name">i</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__identifiers</tt><tt class="py-op">)</tt> <tt class="py-op">-</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L27"></a><tt class="py-lineno">27</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__scope_identifiers</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt> <tt class="py-string">'::'</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name" targets="Function pygccxml.declarations.call_invocation.join()=pygccxml.declarations.call_invocation-module.html#join,Method pygccxml.declarations.pattern_parser.parser_t.join()=pygccxml.declarations.pattern_parser.parser_t-class.html#join,Function pygccxml.declarations.templates.join()=pygccxml.declarations.templates-module.html#join"><a title="pygccxml.declarations.call_invocation.join
pygccxml.declarations.pattern_parser.parser_t.join
pygccxml.declarations.templates.join" class="py-name" href="#" onclick="return doclink('link-19', 'join', 'link-19');">join</a></tt><tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__identifiers</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">:</tt><tt class="py-name">i</tt><tt class="py-op">+</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> <tt class="py-op">)</tt> <tt class="py-op">)</tt> </tt>
<a name="L28"></a><tt class="py-lineno">28</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__scope_identifiers</tt> </tt>
</div><a name="L29"></a><tt class="py-lineno">29</tt>  <tt class="py-line"> </tt>
<a name="L30"></a><tt class="py-lineno">30</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt>
<a name="full_name_splitter_t.identifiers"></a><div id="full_name_splitter_t.identifiers-def"><a name="L31"></a><tt class="py-lineno">31</tt> <a class="py-toggle" href="#" id="full_name_splitter_t.identifiers-toggle" onclick="return toggle('full_name_splitter_t.identifiers');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.msvc.pdb.impl_details.full_name_splitter_t-class.html#identifiers">identifiers</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="full_name_splitter_t.identifiers-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="full_name_splitter_t.identifiers-expanded"><a name="L32"></a><tt class="py-lineno">32</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__identifiers</tt> </tt>
</div><a name="L33"></a><tt class="py-lineno">33</tt>  <tt class="py-line"> </tt>
<a name="full_name_splitter_t.__split_scope_identifiers"></a><div id="full_name_splitter_t.__split_scope_identifiers-def"><a name="L34"></a><tt class="py-lineno">34</tt> <a class="py-toggle" href="#" id="full_name_splitter_t.__split_scope_identifiers-toggle" onclick="return toggle('full_name_splitter_t.__split_scope_identifiers');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.msvc.pdb.impl_details.full_name_splitter_t-class.html#__split_scope_identifiers">__split_scope_identifiers</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="full_name_splitter_t.__split_scope_identifiers-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="full_name_splitter_t.__split_scope_identifiers-expanded"><a name="L35"></a><tt class="py-lineno">35</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L36"></a><tt class="py-lineno">36</tt>  <tt class="py-line">            <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L37"></a><tt class="py-lineno">37</tt>  <tt class="py-line">            <tt class="py-name">tmp</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__full_name</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Function pygccxml.declarations.call_invocation.split()=pygccxml.declarations.call_invocation-module.html#split,Method pygccxml.declarations.pattern_parser.parser_t.split()=pygccxml.declarations.pattern_parser.parser_t-class.html#split,Function pygccxml.declarations.templates.split()=pygccxml.declarations.templates-module.html#split"><a title="pygccxml.declarations.call_invocation.split
pygccxml.declarations.pattern_parser.parser_t.split
pygccxml.declarations.templates.split" class="py-name" href="#" onclick="return doclink('link-20', 'split', 'link-20');">split</a></tt><tt class="py-op">(</tt> <tt class="py-string">'::'</tt> <tt class="py-op">)</tt> </tt>
<a name="L38"></a><tt class="py-lineno">38</tt>  <tt class="py-line">            <tt class="py-name">tmp</tt><tt class="py-op">.</tt><tt class="py-name">reverse</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L39"></a><tt class="py-lineno">39</tt>  <tt class="py-line">            <tt class="py-keyword">while</tt> <tt class="py-name">tmp</tt><tt class="py-op">:</tt> </tt>
<a name="L40"></a><tt class="py-lineno">40</tt>  <tt class="py-line">                <tt class="py-name">token</tt> <tt class="py-op">=</tt> <tt class="py-name">tmp</tt><tt class="py-op">.</tt><tt class="py-name">pop</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L41"></a><tt class="py-lineno">41</tt>  <tt class="py-line">                <tt class="py-name">less_count</tt> <tt class="py-op">=</tt> <tt class="py-name">token</tt><tt class="py-op">.</tt><tt class="py-name">count</tt><tt class="py-op">(</tt> <tt class="py-string">'&lt;'</tt> <tt class="py-op">)</tt> </tt>
<a name="L42"></a><tt class="py-lineno">42</tt>  <tt class="py-line">                <tt class="py-name">greater_count</tt> <tt class="py-op">=</tt> <tt class="py-name">token</tt><tt class="py-op">.</tt><tt class="py-name">count</tt><tt class="py-op">(</tt> <tt class="py-string">'&gt;'</tt> <tt class="py-op">)</tt> </tt>
<a name="L43"></a><tt class="py-lineno">43</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-name">less_count</tt> <tt class="py-op">!=</tt> <tt class="py-name">greater_count</tt><tt class="py-op">:</tt> </tt>
<a name="L44"></a><tt class="py-lineno">44</tt>  <tt class="py-line">                    <tt class="py-keyword">while</tt> <tt class="py-name">less_count</tt> <tt class="py-op">!=</tt> <tt class="py-name">greater_count</tt> <tt class="py-keyword">and</tt> <tt class="py-name">tmp</tt><tt class="py-op">:</tt> </tt>
<a name="L45"></a><tt class="py-lineno">45</tt>  <tt class="py-line">                        <tt class="py-name">next_token</tt> <tt class="py-op">=</tt> <tt class="py-name">tmp</tt><tt class="py-op">.</tt><tt class="py-name">pop</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L46"></a><tt class="py-lineno">46</tt>  <tt class="py-line">                        <tt class="py-name">token</tt> <tt class="py-op">=</tt> <tt class="py-name">token</tt> <tt class="py-op">+</tt> <tt class="py-string">'::'</tt> <tt class="py-op">+</tt> <tt class="py-name">next_token</tt> </tt>
<a name="L47"></a><tt class="py-lineno">47</tt>  <tt class="py-line">                        <tt class="py-name">less_count</tt> <tt class="py-op">+=</tt> <tt class="py-name">next_token</tt><tt class="py-op">.</tt><tt class="py-name">count</tt><tt class="py-op">(</tt> <tt class="py-string">'&lt;'</tt> <tt class="py-op">)</tt> </tt>
<a name="L48"></a><tt class="py-lineno">48</tt>  <tt class="py-line">                        <tt class="py-name">greater_count</tt> <tt class="py-op">+=</tt> <tt class="py-name">next_token</tt><tt class="py-op">.</tt><tt class="py-name">count</tt><tt class="py-op">(</tt> <tt class="py-string">'&gt;'</tt> <tt class="py-op">)</tt> </tt>
<a name="L49"></a><tt class="py-lineno">49</tt>  <tt class="py-line">                <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt> <tt class="py-name">token</tt> <tt class="py-op">)</tt> </tt>
<a name="L50"></a><tt class="py-lineno">50</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">result</tt> </tt>
<a name="L51"></a><tt class="py-lineno">51</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">err</tt><tt class="py-op">:</tt> </tt>
<a name="L52"></a><tt class="py-lineno">52</tt>  <tt class="py-line">            <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-string">'Unable to split scope for identifiers. The full scope name is: "%s". Error: %s'</tt> </tt>
<a name="L53"></a><tt class="py-lineno">53</tt>  <tt class="py-line">            <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">msg</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__full_name</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">)</tt> <tt class="py-op">)</tt> </tt>
<a name="L54"></a><tt class="py-lineno">54</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt class="py-name">RuntimeError</tt><tt class="py-op">(</tt> <tt class="py-name">msg</tt> <tt class="py-op">)</tt> </tt>
</div></div><a name="L55"></a><tt class="py-lineno">55</tt>  <tt class="py-line"> </tt>
<a name="L56"></a><tt class="py-lineno">56</tt>  <tt class="py-line"><tt id="link-21" class="py-name" targets="Variable pygccxml.msvc.pdb.impl_details.__name_splitters=pygccxml.msvc.pdb.impl_details-module.html#__name_splitters"><a title="pygccxml.msvc.pdb.impl_details.__name_splitters" class="py-name" href="#" onclick="return doclink('link-21', '__name_splitters', 'link-21');">__name_splitters</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
<a name="get_name_splitter"></a><div id="get_name_splitter-def"><a name="L57"></a><tt class="py-lineno">57</tt> <a class="py-toggle" href="#" id="get_name_splitter-toggle" onclick="return toggle('get_name_splitter');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.msvc.pdb.impl_details-module.html#get_name_splitter">get_name_splitter</a><tt class="py-op">(</tt> <tt class="py-param">full_name</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="get_name_splitter-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="get_name_splitter-expanded"><a name="L58"></a><tt class="py-lineno">58</tt>  <tt class="py-line">    <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L59"></a><tt class="py-lineno">59</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-22" class="py-name"><a title="pygccxml.msvc.pdb.impl_details.__name_splitters" class="py-name" href="#" onclick="return doclink('link-22', '__name_splitters', 'link-21');">__name_splitters</a></tt><tt class="py-op">[</tt><tt id="link-23" class="py-name"><a title="pygccxml.declarations.algorithm.full_name
pygccxml.declarations.algorithms_cache.declaration_algs_cache_t.full_name" class="py-name" href="#" onclick="return doclink('link-23', 'full_name', 'link-18');">full_name</a></tt><tt class="py-op">]</tt> </tt>
<a name="L60"></a><tt class="py-lineno">60</tt>  <tt class="py-line">    <tt class="py-keyword">except</tt> <tt class="py-name">KeyError</tt><tt class="py-op">:</tt> </tt>
<a name="L61"></a><tt class="py-lineno">61</tt>  <tt class="py-line">        <tt class="py-name">splitter</tt> <tt class="py-op">=</tt> <tt id="link-24" class="py-name" targets="Class pygccxml.msvc.pdb.impl_details.full_name_splitter_t=pygccxml.msvc.pdb.impl_details.full_name_splitter_t-class.html"><a title="pygccxml.msvc.pdb.impl_details.full_name_splitter_t" class="py-name" href="#" onclick="return doclink('link-24', 'full_name_splitter_t', 'link-24');">full_name_splitter_t</a></tt><tt class="py-op">(</tt> <tt id="link-25" class="py-name"><a title="pygccxml.declarations.algorithm.full_name
pygccxml.declarations.algorithms_cache.declaration_algs_cache_t.full_name" class="py-name" href="#" onclick="return doclink('link-25', 'full_name', 'link-18');">full_name</a></tt> <tt class="py-op">)</tt> </tt>
<a name="L62"></a><tt class="py-lineno">62</tt>  <tt class="py-line">        <tt id="link-26" class="py-name"><a title="pygccxml.msvc.pdb.impl_details.__name_splitters" class="py-name" href="#" onclick="return doclink('link-26', '__name_splitters', 'link-21');">__name_splitters</a></tt><tt class="py-op">[</tt><tt id="link-27" class="py-name"><a title="pygccxml.declarations.algorithm.full_name
pygccxml.declarations.algorithms_cache.declaration_algs_cache_t.full_name" class="py-name" href="#" onclick="return doclink('link-27', 'full_name', 'link-18');">full_name</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">splitter</tt> </tt>
<a name="L63"></a><tt class="py-lineno">63</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">splitter</tt> </tt>
</div><a name="L64"></a><tt class="py-lineno">64</tt>  <tt class="py-line"> </tt>
<a name="L65"></a><tt class="py-lineno">65</tt>  <tt class="py-line"><tt class="py-keyword">if</tt> <tt class="py-string">'__main__'</tt> <tt class="py-op">==</tt> <tt class="py-name">__name__</tt><tt class="py-op">:</tt> </tt>
<a name="L66"></a><tt class="py-lineno">66</tt>  <tt class="py-line">    <tt id="link-28" class="py-name" targets="Function pygccxml.declarations.call_invocation.name()=pygccxml.declarations.call_invocation-module.html#name,Variable pygccxml.declarations.calldef.argument_t.name=pygccxml.declarations.calldef.argument_t-class.html#name,Method pygccxml.declarations.container_traits.container_traits_impl_t.name()=pygccxml.declarations.container_traits.container_traits_impl_t-class.html#name,Variable pygccxml.declarations.declaration.declaration_t.name=pygccxml.declarations.declaration.declaration_t-class.html#name,Variable pygccxml.declarations.matchers.declaration_matcher_t.name=pygccxml.declarations.matchers.declaration_matcher_t-class.html#name,Method pygccxml.declarations.pattern_parser.parser_t.name()=pygccxml.declarations.pattern_parser.parser_t-class.html#name,Function pygccxml.declarations.templates.name()=pygccxml.declarations.templates-module.html#name,Method pygccxml.msvc.bsc.instance_t.name()=pygccxml.msvc.bsc.instance_t-class.html#name,Method pygccxml.msvc.bsc_impl_details.instance_t.name()=pygccxml.msvc.bsc_impl_details.instance_t-class.html#name,Variable pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name=pygccxml.msvc.pdb.impl_details.full_name_splitter_t-class.html#name,Variable pygccxml.msvc.pdb.impl_details.name=pygccxml.msvc.pdb.impl_details-module.html#name"><a title="pygccxml.declarations.call_invocation.name
pygccxml.declarations.calldef.argument_t.name
pygccxml.declarations.container_traits.container_traits_impl_t.name
pygccxml.declarations.declaration.declaration_t.name
pygccxml.declarations.matchers.declaration_matcher_t.name
pygccxml.declarations.pattern_parser.parser_t.name
pygccxml.declarations.templates.name
pygccxml.msvc.bsc.instance_t.name
pygccxml.msvc.bsc_impl_details.instance_t.name
pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name
pygccxml.msvc.pdb.impl_details.name" class="py-name" href="#" onclick="return doclink('link-28', 'name', 'link-28');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"boost::detail::is_base_and_derived_impl2&lt;engine_objects::universal_base_t,engine_objects::erroneous_transactions_file_configuration_t&gt;::Host"</tt> </tt>
<a name="L67"></a><tt class="py-lineno">67</tt>  <tt class="py-line">    <tt id="link-29" class="py-name" targets="Variable pygccxml.msvc.pdb.impl_details.fnsp=pygccxml.msvc.pdb.impl_details-module.html#fnsp"><a title="pygccxml.msvc.pdb.impl_details.fnsp" class="py-name" href="#" onclick="return doclink('link-29', 'fnsp', 'link-29');">fnsp</a></tt> <tt class="py-op">=</tt> <tt id="link-30" class="py-name"><a title="pygccxml.msvc.pdb.impl_details.full_name_splitter_t" class="py-name" href="#" onclick="return doclink('link-30', 'full_name_splitter_t', 'link-24');">full_name_splitter_t</a></tt><tt class="py-op">(</tt> <tt id="link-31" class="py-name"><a title="pygccxml.declarations.call_invocation.name
pygccxml.declarations.calldef.argument_t.name
pygccxml.declarations.container_traits.container_traits_impl_t.name
pygccxml.declarations.declaration.declaration_t.name
pygccxml.declarations.matchers.declaration_matcher_t.name
pygccxml.declarations.pattern_parser.parser_t.name
pygccxml.declarations.templates.name
pygccxml.msvc.bsc.instance_t.name
pygccxml.msvc.bsc_impl_details.instance_t.name
pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name
pygccxml.msvc.pdb.impl_details.name" class="py-name" href="#" onclick="return doclink('link-31', 'name', 'link-28');">name</a></tt> <tt class="py-op">)</tt> </tt>
<a name="L68"></a><tt class="py-lineno">68</tt>  <tt class="py-line">    <tt class="py-keyword">for</tt> <tt class="py-name">x</tt> <tt class="py-keyword">in</tt> <tt id="link-32" class="py-name"><a title="pygccxml.msvc.pdb.impl_details.fnsp" class="py-name" href="#" onclick="return doclink('link-32', 'fnsp', 'link-29');">fnsp</a></tt><tt class="py-op">.</tt><tt id="link-33" class="py-name" targets="Variable pygccxml.msvc.pdb.impl_details.full_name_splitter_t.scope_names=pygccxml.msvc.pdb.impl_details.full_name_splitter_t-class.html#scope_names"><a title="pygccxml.msvc.pdb.impl_details.full_name_splitter_t.scope_names" class="py-name" href="#" onclick="return doclink('link-33', 'scope_names', 'link-33');">scope_names</a></tt><tt class="py-op">:</tt> </tt>
<a name="L69"></a><tt class="py-lineno">69</tt>  <tt class="py-line">        <tt class="py-keyword">print</tt> <tt class="py-name">x</tt> </tt>
<a name="L70"></a><tt class="py-lineno">70</tt>  <tt class="py-line"> </tt>
<a name="L71"></a><tt class="py-lineno">71</tt>  <tt class="py-line">    <tt id="link-34" class="py-name"><a title="pygccxml.msvc.pdb.impl_details.fnsp" class="py-name" href="#" onclick="return doclink('link-34', 'fnsp', 'link-29');">fnsp</a></tt> <tt class="py-op">=</tt> <tt id="link-35" class="py-name"><a title="pygccxml.msvc.pdb.impl_details.full_name_splitter_t" class="py-name" href="#" onclick="return doclink('link-35', 'full_name_splitter_t', 'link-24');">full_name_splitter_t</a></tt><tt class="py-op">(</tt> <tt class="py-string">'x'</tt> <tt class="py-op">)</tt> </tt>
<a name="L72"></a><tt class="py-lineno">72</tt>  <tt class="py-line">    <tt class="py-keyword">for</tt> <tt class="py-name">x</tt> <tt class="py-keyword">in</tt> <tt id="link-36" class="py-name"><a title="pygccxml.msvc.pdb.impl_details.fnsp" class="py-name" href="#" onclick="return doclink('link-36', 'fnsp', 'link-29');">fnsp</a></tt><tt class="py-op">.</tt><tt id="link-37" class="py-name"><a title="pygccxml.msvc.pdb.impl_details.full_name_splitter_t.scope_names" class="py-name" href="#" onclick="return doclink('link-37', 'scope_names', 'link-33');">scope_names</a></tt><tt class="py-op">:</tt> </tt>
<a name="L73"></a><tt class="py-lineno">73</tt>  <tt class="py-line">        <tt class="py-keyword">print</tt> <tt class="py-name">x</tt> </tt>
<a name="L74"></a><tt class="py-lineno">74</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pygccxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://www.language-binding.net">pygccxml</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1
    on Mon Oct 20 09:00:29 2008
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
